<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.util.Locale"%>
<%@ page import="java.util.Date"%>
<%@ page import="org.apache.log4j.Logger"%>
<%

Locale locale=java.util.Locale.CHINA;
String pattern = "yyyy-MM-dd kk:mm:ss zZ";
SimpleDateFormat df = new SimpleDateFormat(pattern,locale);
Date date = new Date();
String bjTime = df.format(date);

%>

<html>
  <head>
    <title>Health check</title>
  </head>
  <body>
    <h1>Application is healthy!</h1>
    <p>Beijing time:<%= bjTime %></p>
  </body>
</html>